package com.training.oo.date;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

public class DateFormateDemo2 {
	public static void main(String[] args) throws ParseException {
		
		Date date = new Date();
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy年MM月dd日");
		
		String str = sdf.format(date);
		System.out.println(str);
	}

}
